package com.xcx.commoncore.request.aclrequest.userrequest;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class UpdateUseRequest {


//    @ApiModelProperty(name = "password", value = "密码",required = false)
//    private String password;

    @ApiModelProperty(name = "username", value = "微信openid",required = false)
    @NotBlank(message = "openid不能为空")
    private String username;

    @ApiModelProperty(name = "nickName，没有修改则删掉该字段",value = "昵称;昵称",required = false)
    private String nickName;

    @ApiModelProperty(name = "birthday",value = "出生年月",required = false)
    private String birthday;


    @ApiModelProperty(name = "sex",value = "性别;性别1男，0是女",required = false,example = "1")
    @Min(value = 0)
    private Integer sex;

//    @ApiModelProperty(name = "age",value = "年龄;年龄",required = false,example = "18")
//    @Min(value = 0)
//    private Integer age;

    @ApiModelProperty(name = "salary", value = "收入1.3000,2.30001~5000,3.5001~8000,4.8001~12000,5.12001~20000,6.20001以上", required = true, example = "1")
    private Integer salary;

    @ApiModelProperty(name = "cit", value = "城市;城市", required = false, example = "张家港市")
    @NotBlank(message = "请选择城市")
    private String cit;

    @ApiModelProperty(name = "height", value = "身高", required = false, example = "175cm")
    @NotBlank(message = "请输入身高")
    private String height;


    @ApiModelProperty(name = "weight", value = "体重", required = false, example = "65kg")
    private String weight;

    @ApiModelProperty(name = "maritalStatus", value = "婚姻状态1未婚2.离异3丧偶", required = false, example = "1")
    @Min(value = 0)
    private Integer maritalStatus;

    @ApiModelProperty(name = "profession", value = "学历,1高中及以下，2中专，3大专，4本科，5硕士，6.博士", required = false, example = "1")
    private Integer profession;

    @ApiModelProperty(name = "district", value = "市;市", required = false, example = "苏州市")
    @NotBlank(message = "请输入市级信息")
    private String district;

    @ApiModelProperty(name = "villages", value = "乡村;乡村", required = false, example = "金港镇")
    @NotBlank(message = "请输入乡镇信息")
    private String villages;

    @ApiModelProperty(name = "provin", value = "省份;省份", required = false, example = "江苏省")
    private String provin;

    @ApiModelProperty(name = "userAddress", value = "详细地址", required = false)
    private String userAddress;

}
